package com.xxl.api.admin.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.xxl.api.admin.core.model.XxlApiDataTypeField;

/**
 * Created by xuxueli on 17/6/3.
 */
@Mapper
public interface IXxlApiDataTypeFieldDao {
	public int add(List<XxlApiDataTypeField> xxlApiDataTypeFieldList);

	public int deleteByParentDatatypeId(@Param("parentDatatypeId") int parentDatatypeId);

	public List<XxlApiDataTypeField> findByParentDatatypeId(@Param("parentDatatypeId") int parentDatatypeId);

	public List<XxlApiDataTypeField> findByFieldDatatypeId(@Param("fieldDatatypeId") int fieldDatatypeId);
}
